home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
LIBRARY
/
SWDOS12
/
REDIR.ASM
< prev
next >
Wrap
Assembly Source File
|
1994-11-30
|
842b
|
29 lines
;******************************************************************
;* REDIR.ASM *
;* Source file for SoftWeyr enhanced DOS toolbox *
;* version 1.0 *
;* Copyright (c) by SoftWeyr,1994 *
;******************************************************************
True EQU 1
False EQU 0
MODEL TPascal
LOCALS
.CODE
Public Redirected
Redirected Proc Far F:DWord
;Function Redirected(var F:Text):Boolean;
LES DI,F
MOV BX,ES:[DI]
MOV AX,4400H
INT 21H
TEST DX,0080H
JZ @@1
TEST DX,0003H
JZ @@1
MOV AL,False
JMP @@2
@@1: MOV AL,True
@@2: RET
endp
end